package demo6;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
// @Scope("singleton")  //单例，不设置默认就是单例
@Scope("prototype")  //标注该类是多多例的
public class Person {

}
